import django_filters
from .models import *

class PageConfigFilter(django_filters.rest_framework.FilterSet):
    """过滤器"""

    pagee__name = django_filters.CharFilter(field_name='pagee__name')
    class Meta:
        model = PageConfig
        fields = '__all__'